package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 套餐信息
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:20:15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_package")
@ApiModel(value = "Package对象", description = "套餐信息")
public class Package implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("套餐id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("套餐编号")
    @TableField("number")
    private String number;

    @ApiModelProperty("套餐名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("套餐照片")
    @TableField("pic")
    private String pic;

    @ApiModelProperty("套餐价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("地址")
    @TableField("place")
    private String place;

    @ApiModelProperty("套餐内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("套餐介绍")
    @TableField("introduce")
    private String introduce;

    @ApiModelProperty("注意事项")
    @TableField("precautions")
    private String Precautions;

    @ApiModelProperty("套餐状态（0 未启用，1 已启用）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("园区id")
    @TableField("hospital_park_id")
    private Integer hospitalParkId;

    @ApiModelProperty("套餐类型id")
    @TableField("package_type_id")
    private Integer packageTypeId;

    @ApiModelProperty("0 未删，1已删")
    @TableField("is_delete")
    @TableLogic
    @JsonIgnore
    private Integer isDelete;

    @ApiModelProperty("项目id集合")
    @TableField(exist = false)
    private List<Integer> lists;


}
